package org.sapidoc.idoc.exception;

public class IdocGenerationException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String fileName;
	
	public IdocGenerationException(String fileName) {
		this.fileName = fileName;
	}

	public IdocGenerationException(String message,String fileName) {
		super(message);
		this.fileName = fileName;
	}

	public IdocGenerationException(Throwable cause,String fileName) {
		super(cause);
		this.fileName = fileName;
	}
	
	public IdocGenerationException(Throwable cause) {
		super(cause);
	}

	public IdocGenerationException(String message, Throwable cause,String fileName) {
		super(message, cause);
		this.fileName = fileName;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
}
